

#ifndef	_BSP_HARD_I2C_H
#define	_BSP_HARD_I2C_H

#include "stc8h.h"

void bspHardI2cInit(void);

//void bspHardI2cWait();
void bspHardI2cStart();
void bspHardI2cSendData(char dat);
void bspHardI2cRecvACK();
char bspHardI2cRecvData();
void bspHardI2cSendACK();
void bspHardI2cSendNAK();
void bspHardI2cStop();

unsigned char bspHardI2c_wr_test(unsigned char dat);


#endif

